/**
 * 配置编译环境和线上环境之间的切换
 * baseUrl: 域名地址
 *
 * Created by Acris on 2017/5/17.
 */
let baseURL;
let loginURL;

if (process.env.NODE_ENV === 'production') {
    //生产环境
    baseURL = 'http://10.8.8.85:58080';
    loginURL = 'http://10.8.8.85:9000'
} else if (process.env.NODE_ENV === 'test') {
    //http://192.168.88.88:28095/#/login
    //测试环境
    baseURL = 'http://192.168.88.88:58080';
    loginURL = 'http://192.168.88.88:9000'
} else {
    //开发环境
    //http://14.17.112.62:58080/
    //192.168.88.44:8080
    baseURL = 'http://192.168.88.88:58080';
    loginURL = 'http://192.168.88.88:9000'
}

export {
    baseURL,
    loginURL
}
